<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib  prefix="c" 		uri="http://java.sun.com/jsp/jstl/core"%>
<div class="modal fade" id="editDlg" name="editDlg">
	<div class="modal-dialog">
		<form id="actForm" name="actForm" action="#" class="form-horizontal">
			<input type="hidden" name="id" id="id"/>
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h4 class="modal-title"></h4>
				</div>
				<div class="modal-body">
						<div class="form-group">
	                        <label class="col-md-3 control-label ui-sortable">开始时间<span class="required">*</span></label>
	                        <div class="col-md-9 ui-sortable">
								<input type="text" name="leaveBeginTime" id="leaveBeginTime" class="form-control" placeholder="请输入组织机构编号" style="width: 80%"/>
	                        </div>
                    	</div>
						<div class="form-group">
	                        <label class="col-md-3 control-label ui-sortable">结束时间<span class="required">*</span></label>
	                        <div class="col-md-9 ui-sortable">
								<input type="text" name="leaveEndTime" id="leaveEndTime" class="form-control" placeholder="请输入组织机构名称" style="width: 80%"/>
	                        </div>
                    	</div>
                    	<div class="form-group">
	                        <label class="col-md-3 control-label ui-sortable">请假类型<span class="required">*</span></label>
	                        <div class="col-md-9 ui-sortable">
								<select class="form-control" name="leaveTypeId" id="leaveTypeId">
									<option value="-1">请选择</option>
									<c:forEach items="${types}" var="type">
										<option value="${type.id}">${type.name}</option>
									</c:forEach>
								</select>
            	            </div>
	                    </div>
	                    <div class="form-group">
	                        <label class="col-md-3 control-label ui-sortable">请假原因</label>
	                        <div class="col-md-9 ui-sortable">
	                        	<textarea rows="5" cols="6" name="note" class="form-control" placeholder="请输入备注" style="width: 80%;height:50px;"></textarea>
	                        </div>
	                    </div>
				</div>
				<div class="modal-footer-dialog">
					<a href="javascript:;" class="btn btn-sm btn-default" data-dismiss="modal"><fmt:message key="public.button_close"/></a>
					<button type="button" class="btn btn-sm btn-primary" id="actFormBtn"><fmt:message key="public.button_save"/></button>
				</div>
			</div>
		</form>
	</div>
</div>